﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class WeiActivityInfoConfig : EntityTypeConfiguration<WeiActivityInfo>
    {
        public WeiActivityInfoConfig()
        {
            ToTable("Himall_WeiActivityInfo");
            Property(item => item.ActivityTitle).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ActivityDetails).HasColumnType("varchar").HasMaxLength(500);
            Property(item => item.ActivityUrl).HasColumnType("varchar").HasMaxLength(500);
            Property(item => item.CodeUrl).HasColumnType("varchar").HasMaxLength(500);
        }
    }
}
